![]() |
pCon.planner Plugin SDK
Version 8.16
|
Realtime OpenGL Renderer. More...
Public Member Functions | |
| IImage^ | RenderImage (int pWidth, int pHeight) |
| Renders image with given width and height. More... | |
| Image^ | RenderImage (int pWidth, int pHeight, IEnumerable< DbEntity^ >^pEntities) |
| Renders image of given modelspace entities with given width and height. More... | |
| Image^ | RenderImage (int pWidth, int pHeight, IEnumerable< DbEntity^ >^pEntities, LayerFilter pLayerFilter) |
| Renders image based on OpenGL renderer. More... | |
Properties | |
| ICamera^ | Camera [get] |
| Camera parameters. More... | |
| IRenderStyle^ | Style [get, set] |
| Rendering style. More... | |
| System::Drawing::Color | BackgroundColor |
| Sets custom background color. More... | |
Realtime OpenGL Renderer.
| X3g::Plugin::IImage X3g::Plugin::IOpenGLRenderer::RenderImage | ( | int | pWidth, |
| int | pHeight | ||
| ) |
Renders image with given width and height.
Returned image has pre-multiplied alpha in case of transparent background.
| Image X3g::Plugin::IOpenGLRenderer::RenderImage | ( | int | pWidth, |
| int | pHeight, | ||
| IEnumerable< DbEntity^ >^ | pEntities | ||
| ) |
Renders image of given modelspace entities with given width and height.
Returned image has pre-multiplied alpha in case of transparent background.
| Image X3g::Plugin::IOpenGLRenderer::RenderImage | ( | int | pWidth, |
| int | pHeight, | ||
| IEnumerable< DbEntity^ >^ | pEntities, | ||
| LayerFilter | pLayerFilter | ||
| ) |
Renders image based on OpenGL renderer.
| pWidth | Render output width. |
| pHeight | Render output height. |
| pEntities | Select specific top level entities or null for all. |
| pLayerFilter | Override Layer visibility with this option. |
Returned image has pre-multiplied alpha in case of transparent background.
| System:: Drawing:: Color X3g::Plugin::IOpenGLRenderer::BackgroundColor |
Sets custom background color.
White by default.
|
get |
Camera parameters.
It's not allowed to assign another camera reference. Use ICamera::CopyFrom() instead.
|
getset |
Rendering style.
1.8.4